package acm;

import java.util.Scanner;

public class 图形显示 {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int n=in.nextInt();
        int m=0;
        for (int i=0;i<n;i++){
            for (int j=i;j<n;j++){
                if (m==0){
                    System.out.print("*");
                    m++;
                }
                else {
                    System.out.print(" *");
                }
            }
            m=0;
            System.out.println();
        }
    }
}
